package com.sunnada.demo.service;

import com.sunnada.demo.bean.Dog;

import java.util.List;

public interface DogService extends MongoBaseService<Dog>{

    List<Dog>  findByName(String name);

    List<Dog> findByIdAndName(Object id,String name);

    List<Dog> findByNameAndAge(String age,String name);

}
